import request from '@/utils/request'

// 文案列表
export const servetypeRecommend = (data) => request({
  url: '/admin/procures',
  method: 'post',
  data
})
export const tixianlistRecommend = (data) => request({
  url: '/admin/tixianlist',
  method: 'post',
  data
})

// 添加文案
export const addcopywritingadd = (data) => request({
  url: '/admin/procureadd',
  method: 'post',
  data
})

// 修改文案  比添加多一个id
export const updatecopywritingupdate = (data) => request({
  url: '/admin/procureupdate',
  method: 'post',
  data
})

// 推送
export const delcopywritingdel = (data) => request({
  url: '/admin/tuisong',
  method: 'post',
  data
})

// 文案分类列表
export const gettypelist = (data) => request({
  url: '/user/classifys',
  method: 'post',
  data
})

// 添加文案分类
export const getcitylist = (data) => request({
  url: '/user/provinces',
  method: 'post',
  data
})

// 修改文案分类
export const updatetypeupdate = (data) => request({
  url: '/admin/typeupdate',
  method: 'post',
  data
})

// 删除文案分类
export const deltypedel = (data) => request({
  url: '/admin/typedel',
  method: 'post',
  data
})
export const postczlist = (data) => request({
  url: '/admin/czlist',
  method: 'post',
  data
})
export const postprocuredel = (data) => request({
  url: '/admin/procuredel',
  method: 'post',
  data
})
export const posttypes = (data) => request({
  url: '/admin/types',
  method: 'post',
  data
})

// 访问记录
export const procureLogs = (data) => request({
  url: '/admin/procurelogs',
  method: 'post',
  data
})

// 访问记录
export const exportProcureLogs = (data) => request({
  url: '/admin/excelprocurelogs',
  method: 'post',
  data
})
// 
// 更新业务多数量
export const procuregxsl = (data) => request({
  url: '/admin/procuregxsl',
  method: 'post',
  data
})

export const cushPackage = (data) => request({
  url: '/admin/tixianwc',
  method: 'post',
  data
})